@if (Session::has('success'))                                             
<script>
    //$.pjax.reload(".box-body");
    layer.msg("{{Session::get('success')}}", {icon: 6});
</script>
@endif
@if (Session::has('error'))                                             
<script>
    layer.msg("{{Session::get('error')}}", {icon: 5});
</script>
@endif